/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ca.trader.except;

/**
 * Thrown to indicate if a user's password is too long or too short
 * @author Ahsan
 */
public class PasswordLengthException extends Exception
{

	 /**
	  * Creates a new instance of
	  * <code>PasswordLengthException</code> without detail message.
	  */
	 public PasswordLengthException(int minLength, int maxLength)
	 {
		  super ("The password must be between " + minLength + " and " + maxLength + " characters long.");
	 }



}
